home *** CD-ROM | disk | FTP | other *** search
/ Champak 132 (Alt) / Vol 132.iso / games / biff_and.swf / scripts / frame_10 / DoAction.as
Encoding:
Text File  |  2011-06-09  |  7.8 KB  |  307 lines

  1. function ┬º\x01\x02┬º()
  2. {
  3.    return 901 % 511 * 5;
  4. }
  5. var ┬º\x01┬º = -1044 + "\x01\x02"();
  6. while(true)
  7. {
  8.    if(eval("\x01") == 906)
  9.    {
  10.       set("\x01",eval("\x01") - 114);
  11.       ┬º┬ºpush(true);
  12.       continue;
  13.    }
  14.    if(eval("\x01") == 743)
  15.    {
  16.       set("\x01",eval("\x01") - 665);
  17.       continue;
  18.    }
  19.    if(eval("\x01") == 78)
  20.    {
  21.       set("\x01",eval("\x01") + 340);
  22.       ┬º┬ºpush(true);
  23.       continue;
  24.    }
  25.    if(eval("\x01") == 684)
  26.    {
  27.       set("\x01",eval("\x01") + 194);
  28.       var ┬º┬ºpop() = function ┬º\x01\x02┬º()
  29.       {
  30.          return 901 % 511 * 5;
  31.       };
  32.       continue;
  33.    }
  34.    if(eval("\x01") == 93)
  35.    {
  36.       set("\x01",eval("\x01") + 649);
  37.       ┬º┬ºpush(┬º┬ºpop() eq targetPath(function ┬º\x01\x02┬º()
  38.       {
  39.          return 901 % 511 * 5;
  40.       }));
  41.       break;
  42.    }
  43.    if(eval("\x01") == 418)
  44.    {
  45.       set("\x01",eval("\x01") + 252);
  46.       if(function ┬º\x01\x02┬º()
  47.       {
  48.          return 901 % 511 * 5;
  49.       })
  50.       {
  51.          set("\x01",eval("\x01") - 622);
  52.       }
  53.       continue;
  54.    }
  55.    if(eval("\x01") == 742)
  56.    {
  57.       set("\x01",eval("\x01") - 664);
  58.       continue;
  59.    }
  60.    if(eval("\x01") == 878)
  61.    {
  62.       set("\x01",eval("\x01") - 799);
  63.       ┬º┬ºpush("\x0f");
  64.       continue;
  65.    }
  66.    if(eval("\x01") == 606)
  67.    {
  68.       set("\x01",eval("\x01") - 559);
  69.       if(function ┬º\x01\x02┬º()
  70.       {
  71.          return 901 % 511 * 5;
  72.       })
  73.       {
  74.          set("\x01",eval("\x01") + 485);
  75.       }
  76.       continue;
  77.    }
  78.    if(eval("\x01") == 792)
  79.    {
  80.       set("\x01",eval("\x01") - 699);
  81.       if(function ┬º\x01\x02┬º()
  82.       {
  83.          return 901 % 511 * 5;
  84.       })
  85.       {
  86.          set("\x01",eval("\x01") + 649);
  87.       }
  88.       continue;
  89.    }
  90.    if(eval("\x01") == 64)
  91.    {
  92.       set("\x01",eval("\x01") + 620);
  93.       ┬º┬ºpush("\x0f");
  94.       ┬º┬ºpush(1);
  95.       continue;
  96.    }
  97.    if(eval("\x01") == 933)
  98.    {
  99.       set("\x01",eval("\x01") - 285);
  100.       if(function ┬º\x01\x02┬º()
  101.       {
  102.          return 901 % 511 * 5;
  103.       })
  104.       {
  105.          set("\x01",eval("\x01") - 180);
  106.       }
  107.       continue;
  108.    }
  109.    if(eval("\x01") == 670)
  110.    {
  111.       set("\x01",eval("\x01") - 622);
  112.       break;
  113.    }
  114.    if(eval("\x01") == 79)
  115.    {
  116.       set("\x01",eval("\x01") + 150);
  117.       ┬º┬ºpush(eval(function ┬º\x01\x02┬º()
  118.       {
  119.          return 901 % 511 * 5;
  120.       }));
  121.       continue;
  122.    }
  123.    if(eval("\x01") == 380)
  124.    {
  125.       set("\x01",eval("\x01") - 316);
  126.       continue;
  127.    }
  128.    if(eval("\x01") == 48)
  129.    {
  130.       set("\x01",eval("\x01") + 27);
  131.       continue;
  132.    }
  133.    if(eval("\x01") == 532)
  134.    {
  135.       set("\x01",eval("\x01") - 468);
  136.       continue;
  137.    }
  138.    if(eval("\x01") == 75)
  139.    {
  140.       set("\x01",eval("\x01") + 531);
  141.       ┬º┬ºpush(true);
  142.       continue;
  143.    }
  144.    if(eval("\x01") == 719)
  145.    {
  146.       set("\x01",eval("\x01") - 644);
  147.       continue;
  148.    }
  149.    if(eval("\x01") == 468)
  150.    {
  151.       set("\x01",eval("\x01") + 49);
  152.       var ┬º\x18{invalid_utf8=219}e{invalid_utf8=141}┬º = 0;
  153.       var ┬º\x0b{invalid_utf8=219}{invalid_utf8=207}{invalid_utf8=248}┬º = 0;
  154.       switch(eval("w{invalid_utf8=143}")["{64e"])
  155.       {
  156.          case 0:
  157.             configmenu.auto._alpha = 100;
  158.             configmenu.low._alpha = 45;
  159.             configmenu.high._alpha = 45;
  160.             break;
  161.          case 1:
  162.             configmenu.auto._alpha = 45;
  163.             configmenu.low._alpha = 100;
  164.             configmenu.high._alpha = 45;
  165.             break;
  166.          case 2:
  167.             ┬º┬ºpush(configmenu);
  168.             ┬º┬ºpush("auto");
  169.       }
  170.       switch(_root.keyControlMode)
  171.       {
  172.          case 0:
  173.             configmenu.seta._alpha = 100;
  174.             configmenu.setb._alpha = 45;
  175.             _root.keyInfo = "1=yellow 2=blue                     3=red 4=green            space=shield on/off";
  176.             break;
  177.          case 1:
  178.             configmenu.seta._alpha = 45;
  179.             configmenu.setb._alpha = 100;
  180.             _root.keyInfo = "left-arrow=previous color                  right-arrow=next color              ctrl=shield on/off";
  181.       }
  182.       _quality = "HIGH";
  183.       _root.music.stop();
  184.       _root.blink.setVolume(50);
  185.       _root.blub.setVolume(50);
  186.       if(_root.menab == 0)
  187.       {
  188.          _root.music.setVolume(0);
  189.          configmenu.mon._alpha = 45;
  190.          configmenu.mof._alpha = 100;
  191.          mstat = "enable music";
  192.       }
  193.       if(_root.menab == 1)
  194.       {
  195.          _root.music.setVolume(30);
  196.          configmenu.mon._alpha = 100;
  197.          configmenu.mof._alpha = 45;
  198.          mstat = "disable music";
  199.       }
  200.       var bubblecount = 251;
  201.       var sbub = 100;
  202.       var absFrames = 0;
  203.       var fishcount = 40;
  204.       var rotAngle = 5;
  205.       SpawnBubble = function()
  206.       {
  207.          _root.attachMovie("Bubble","Bubble" + _root.bubblecount,_root.bubblecount,{_x:random(200) + 400,_y:550});
  208.          _root.bubblecount = _root.bubblecount + 1;
  209.          if(_root.bubblecount > 280)
  210.          {
  211.             _root.bubblecount = 251;
  212.          }
  213.       };
  214.       SpawnSBub = function(hitX, hitY)
  215.       {
  216.          _root.attachMovie("SBubble","SBub" + _root.sbub,_root.sbub,{_x:hitX,_y:hitY});
  217.          _root.sbub = _root.sbub + 1;
  218.          if(_root.sbub > 145)
  219.          {
  220.             _root.sbub = 100;
  221.          }
  222.       };
  223.       clearInterval(SpBubble);
  224.       SpBubble = setInterval(SpawnBubble,500);
  225.       onEnterFrame = function()
  226.       {
  227.          absFrames++;
  228.          mainmenu.playText._rotation = Math.sin(absFrames / 20) * rotAngle;
  229.          mainmenu.configure._rotation = Math.sin((- absFrames) / 20) * rotAngle;
  230.          mainmenu.instructText._rotation = Math.sin(absFrames / 20) * rotAngle;
  231.          mainmenu.viewscores._rotation = Math.sin((- absFrames) / 20) * rotAngle;
  232.          Title._rotation = Math.sin((- absFrames) / 30) * 10;
  233.          Title._y = 84 + Math.sin(absFrames / 30) * 10;
  234.          bmlogo._rotation = Math.sin(absFrames / 50) * 10;
  235.          bmlogo._y = 93 + Math.sin(absFrames / 30) * 10;
  236.          SpawnSBub(_root._xmouse + random(6) - 3,_root._ymouse + random(6) - 3);
  237.          if(showMenu == 0 && mainmenu._alpha < 100)
  238.          {
  239.             mainmenu._alpha += 4;
  240.          }
  241.          if(showMenu != 0 && mainmenu._alpha > 0)
  242.          {
  243.             mainmenu._alpha -= 4;
  244.          }
  245.          if(showMenu == 1 && configmenu._alpha < 100)
  246.          {
  247.             configmenu._alpha += 4;
  248.          }
  249.          if(showMenu != 1 && configmenu._alpha > 0)
  250.          {
  251.             configmenu._alpha -= 4;
  252.          }
  253.          if(showMenu == 2 && instructions._alpha < 100)
  254.          {
  255.             instructions._alpha += 4;
  256.          }
  257.          if(showMenu != 2 && instructions._alpha > 0)
  258.          {
  259.             instructions._alpha -= 4;
  260.          }
  261.          if(showMenu == 3 && dgames._alpha < 100)
  262.          {
  263.             dgames._alpha += 4;
  264.          }
  265.          if(showMenu != 3 && dgames._alpha > 0)
  266.          {
  267.             dgames._alpha -= 4;
  268.          }
  269.       };
  270.       stop();
  271.       break;
  272.    }
  273.    if(eval("\x01") != 47)
  274.    {
  275.       if(eval("\x01") == 229)
  276.       {
  277.          set("\x01",eval("\x01") + 704);
  278.          ┬º┬ºpush(!function ┬º\x01\x02┬º()
  279.          {
  280.             return 901 % 511 * 5;
  281.          });
  282.       }
  283.       else
  284.       {
  285.          if(eval("\x01") != 648)
  286.          {
  287.             if(eval("\x01") == 517)
  288.             {
  289.                set("\x01",eval("\x01") - 517);
  290.             }
  291.             break;
  292.          }
  293.          set("\x01",eval("\x01") - 180);
  294.       }
  295.       continue;
  296.    }
  297.    set("\x01",eval("\x01") + 485);
  298.    prevFrame();
  299.    ┬º┬ºpop()[function ┬º\x01\x02┬º()
  300.    {
  301.       return 901 % 511 * 5;
  302.    }][┬º┬ºconstant(6)] = 45;
  303.    eval(┬º┬ºconstant(4))[┬º┬ºconstant(7)][┬º┬ºconstant(6)] = 45;
  304.    eval(┬º┬ºconstant(4))[┬º┬ºconstant(8)][┬º┬ºconstant(6)] = 100;
  305.    ┬º┬ºgoto(addr82);
  306. }
  307.